package com.example.demo.pojo;

import com.example.demo.annotation.Collection;
import lombok.Data;
import org.bson.types.ObjectId;

@Data
@Collection(name="subject")
public class Subject {

    private ObjectId id;
    private String name;
    private String title;
    private String desc;
}
